
// Get the path of the currently running do-file
local do_file_path `c(pwd)'

// Change the working directory to the location of the do-file
cd "`do_file_path'"

import dbase using "local\gis_data\003_boundaries\fishnet\fishnet_lake_chad_ntl_adm0_x_d01.dbf", clear

rename *, lower

keep objectid adm0brd adm0inside

label variable adm0brd "grid is adjacent to a national administrative border : GADM"
label variable adm0inside "grid is adjacent to a national administrative border inside the study area : GADM"

save "proc_data\GRID_BORDER.dta", replace